﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Produto.aspx.cs" Inherits="ControleDePedidoWeb.Views.Produto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #form1
        {
            height: 408px;
        }
        .style1
        {
            height: 23px;
        }
        .style2
        {
            font-family: Tahoma;
            font-size: small;
        }
        .style3
        {
            height: 23px;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Panel ID="Panel1" runat="server">
            <h2>
                <asp:Label ID="Label10" runat="server" 
                    style="font-family: Tahoma; text-align: center" Text="Cadastro de Produtos"></asp:Label>
            </h2>
            <p>
                <asp:Label ID="lblMensagem" runat="server"></asp:Label>
            </p>
            <table style="width:100%;">
                <tr>
                    <td>
                        <b>
                        <asp:Label ID="Label1" runat="server" CssClass="style2" Text="Nome:"></asp:Label>
                        </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtNome" runat="server" style="text-align: right"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        <b>
                        <asp:Label ID="Label2" runat="server" CssClass="style2" Text="Descrição:"></asp:Label>
                        </b>
                    </td>
                    <td>
                        <asp:TextBox ID="txtDescricao" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="Label3" runat="server" CssClass="style2" Text="Valor Custo"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtValorCusto" runat="server"></asp:TextBox>
                    </td>
                    <td class="style1">
                    </td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="Label4" runat="server" CssClass="style2" Text="Valor:"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtValor" runat="server"></asp:TextBox>
                    </td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="Label6" runat="server" CssClass="style2" Text="Fornecedor:"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:DropDownList ID="cmbFornecedor" runat="server" Height="21px" Width="197px">
                        </asp:DropDownList>
                    </td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="Label7" runat="server" CssClass="style2" Text="Categoria:"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:DropDownList ID="cmbCategoria" runat="server" Height="21px" Width="197px">
                        </asp:DropDownList>
                    </td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="Label8" runat="server" CssClass="style2" Text="Fabricante:"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:DropDownList ID="cmbFabricante" runat="server" Height="21px" Width="197px">
                        </asp:DropDownList>
                    </td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                    <td class="style1">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        <asp:Label ID="Label5" runat="server" CssClass="style2" 
                            Text="Quantidade Mínima:"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtQtdeMinima" runat="server" Height="24px" Width="78px"></asp:TextBox>
                    </td>
                    <td class="style1">
                        <asp:Label ID="Label9" runat="server" 
                            style="font-size: small; font-family: Tahoma; font-weight: 700" 
                            Text="Quantidade no Estoque:"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtQtdeEstoque" runat="server" Height="24px" Width="78px"></asp:TextBox>
                    </td>
                    <td class="style1">
                        <asp:Button ID="botaoCadastrar" runat="server" Text="Cadastrar" 
                            onclick="Button1_Click" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
    
    </div>
    </form>
</body>
</html>
